package com.lain.T1.fastdfs.client.service;

import com.lain.T1.fastdfs.client.vo.BaseResponse;
import com.lain.T1.fastdfs.client.vo.resp.FileOprResponse;

/**
 * Title:       FastDFSClientService
 * Description:
 *
 * @author : liugaoyang
 * date         : 2019/6/26 14:34
 */
public interface FastDFSClientService {

    /**
     * 上传单个文件
     * @param file
     * @return
     */
    BaseResponse<FileOprResponse> uploadFile(Object file);

    /**
     * 上传多个文件
     * @param files
     * @return
     */
    BaseResponse<FileOprResponse> uploadFile(Object[] files);
}
